package com.drp.bean;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;

/**
 * <p>
 * 
 * </p>
 *
 * @author ren
 * @since 2022-03-16
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("t_market")
public class Market extends Model {

    private static final long serialVersionUID = 1L;

    @TableId(value = "m_id", type = IdType.AUTO)
    private Integer mId;

    private Integer mNumber;

    private Double mAmount;
    private String mTime;

    @TableField("fk_clientId")
    private Integer fkClientid;
    @TableField(exist = false)
    private Client client;

    @TableField("fk_userId")
    private Integer fkUserid;
    @TableField(exist = false)
    private User user;

    @TableField("fk_goodsId")
    private Integer fkGoodsid;
    @TableField(exist = false)
    private Goods goods;


}
